Skip to content

Conversation

yaacovCR
Copy link
Contributor

@yaacovCR yaacovCR commented Jul 2, 2025

currently, the only difference between development and production modes is the behavior of the instanceOf() check

extracted from #4437

@yaacovCR yaacovCR requested a review from a team as a code owner July 2, 2025 09:32
@yaacovCR yaacovCR force-pushed the integration branch 3 times, most recently from 4dea05f to 85a8c4a Compare July 2, 2025 10:22
@yaacovCR yaacovCR merged commit f2890ca into graphql:next Jul 5, 2025
16 checks passed
@yaacovCR yaacovCR deleted the integration branch July 5, 2025 19:33
yaacovCR added a commit to yaacovCR/graphql-js that referenced this pull request Jul 30, 2025
currently, the only difference between development and production modes is the behavior of the instanceOf() check

"production" mode is currently enabled by setting `process.env.NODE_ENV` to `production` with the default mode being "development" mode.

this PR demonstrates how to enable production mode with node, bun, deno, esbuild, rollup, swc, webpack, and rspack and demonstrates the default of development mode in those environments as well as with jest and vitest.

extracted from graphql#4437
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant